package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.PersonalEventExample.E_ATTACH_URL;
import static org.jsola.hr.example.PersonalEventExample.E_COMPANY_ID;
import static org.jsola.hr.example.PersonalEventExample.E_COMPANY_NAME;
import static org.jsola.hr.example.PersonalEventExample.E_DESCRIPTION;
import static org.jsola.hr.example.PersonalEventExample.E_EMP_ID;
import static org.jsola.hr.example.PersonalEventExample.E_EVENT_NAME;
import static org.jsola.hr.example.PersonalEventExample.E_EVENT_TIME;
import static org.jsola.hr.example.PersonalEventExample.E_EVENT_TYPE;
import static org.jsola.hr.example.PersonalEventExample.E_IF_AUTO;
import static org.jsola.hr.example.PersonalEventExample.E_USER_ID;
import static org.jsola.hr.example.PersonalEventExample.N_ATTACH_URL;
import static org.jsola.hr.example.PersonalEventExample.N_COMPANY_ID;
import static org.jsola.hr.example.PersonalEventExample.N_COMPANY_NAME;
import static org.jsola.hr.example.PersonalEventExample.N_DESCRIPTION;
import static org.jsola.hr.example.PersonalEventExample.N_EMP_ID;
import static org.jsola.hr.example.PersonalEventExample.N_EVENT_NAME;
import static org.jsola.hr.example.PersonalEventExample.N_EVENT_TIME;
import static org.jsola.hr.example.PersonalEventExample.N_EVENT_TYPE;
import static org.jsola.hr.example.PersonalEventExample.N_IF_AUTO;
import static org.jsola.hr.example.PersonalEventExample.N_USER_ID;

/**
 * 人事变动表
 *
 * @author ds
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【人事变动表】列表展示对象")
@Data
public class PersonalEventListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_USER_ID, example = E_USER_ID)
    private String userId;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_IF_AUTO, example = E_IF_AUTO)
    private Boolean ifAuto;

    @ApiModelProperty(notes = N_EVENT_NAME, example = E_EVENT_NAME)
    private String eventName;

    @ApiModelProperty(notes = N_EVENT_TYPE, example = E_EVENT_TYPE)
    private String eventType;

    @ApiModelProperty(notes = N_COMPANY_NAME, example = E_COMPANY_NAME)
    private String companyName;

    @ApiModelProperty(notes = N_DESCRIPTION, example = E_DESCRIPTION)
    private String description;

    @ApiModelProperty(notes = N_EVENT_TIME, example = E_EVENT_TIME)
    private Date eventTime;

    @ApiModelProperty(notes = N_ATTACH_URL, example = E_ATTACH_URL)
    private String attachUrl;

    @ApiModelProperty(notes = N_EMP_ID, example = E_EMP_ID)
    private String empId;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = N_IF_AUTO, example = E_IF_AUTO)
    private String empName;



}

